package com.longchat.domain.upload;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the T_UPLOAD_JINGDONG database table.
 * 
 */
@Entity
@Table(name="T_UPLOAD_JINGDONG")
@NamedQuery(name="UploadJingdong.findAll", query="SELECT u FROM UploadJingdong u")
public class UploadJingdong implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Id
	@SequenceGenerator(name="T_UploadJingdong_ID_GENERATOR" )
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="T_UploadJingdong_ID_GENERATOR")
	@Column(unique=true, nullable=false, precision=22)
	private long id;

	@Column(name="ALL_AMOUNT", length=32)
	private String allAmount;

	@Column(name="BUSINESS_DISCOUNT", length=20)
	private String businessDiscount;

	@Column(name="BUSINESS_ID", length=30)
	private String businessId;

	@Column(name="BUSINESS_NAME", length=20)
	private String businessName;

	@Column(name="BUSINESS_TYPE", length=20)
	private String businessType;

	@Temporal(TemporalType.DATE)
	@Column(name="CREATE_TIME")
	private Date createTime;

	@Column(name="DEDUCTION_RATE", length=20)
	private String deductionRate;

	@Column(name="FEE_TYPE", length=20)
	private String feeType;

	@Column(length=20)
	private String name;

	@Column(length=20)
	private String num;

	@Column(name="OCCUR_TIME", length=20)
	private String occurTime;

	@Column(name="ORDER_ID", length=30)
	private String orderId;

	@Column(length=100)
	private String remark;

	@Column(name="STORE_ID", length=30)
	private String storeId;

	@Column(name="STORE_NAME", length=30)
	private String storeName;

	@Column(name="TRADE_AMOUNT", length=32)
	private String tradeAmount;

	@Column(name="USER_ID", precision=22)
	private BigDecimal userId;

	public UploadJingdong() {
	}

	public String getAllAmount() {
		return this.allAmount;
	}

	public void setAllAmount(String allAmount) {
		this.allAmount = allAmount;
	}

	public String getBusinessDiscount() {
		return this.businessDiscount;
	}

	public void setBusinessDiscount(String businessDiscount) {
		this.businessDiscount = businessDiscount;
	}

	public String getBusinessId() {
		return this.businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getBusinessName() {
		return this.businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getBusinessType() {
		return this.businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDeductionRate() {
		return this.deductionRate;
	}

	public void setDeductionRate(String deductionRate) {
		this.deductionRate = deductionRate;
	}

	public String getFeeType() {
		return this.feeType;
	}

	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNum() {
		return this.num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getOccurTime() {
		return this.occurTime;
	}

	public void setOccurTime(String occurTime) {
		this.occurTime = occurTime;
	}

	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getStoreName() {
		return this.storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getTradeAmount() {
		return this.tradeAmount;
	}

	public void setTradeAmount(String tradeAmount) {
		this.tradeAmount = tradeAmount;
	}

	public BigDecimal getUserId() {
		return this.userId;
	}

	public void setUserId(BigDecimal userId) {
		this.userId = userId;
	}

}